#define _CRT_SECURE_NO_WARNINGS 1
#include"SLlist.h"

void SLtest1()
{
	SLTNode* pList=NULL;
	SLPushback(&pList, 1);
	SLPushback(&pList, 2);
	SLPushback(&pList, 3);
	SLPushback(&pList, 4);
	SLPushback(&pList, 5);
	SLprint(pList);


	SLpopFront(&pList);
	SLprint(pList);
	SLpopFront(&pList);
	SLprint(pList);

	SLpushFront(&pList, 5);
	SLprint(pList);
	SLpushFront(&pList, 4);
	SLprint(pList); 
	SLpushFront(&pList, 9);
	SLprint(pList);
	SLpopFront(&pList);
	SLpopFront(&pList);
	SLpopFront(&pList);
	SLpopFront(&pList);
	SLprint(pList);
	
	
}

int main()
{
	SLtest1();
	return 0;
}